import 'package:flutter/cupertino.dart';
import 'package:favor_cate/core/extension/int_extension.dart';

class OperationItem extends StatelessWidget {
  Icon _icon;
  String _text;

  OperationItem(this._icon, this._text);

  @override
  Widget build(BuildContext context) {
    return Row(
      children: [
        _icon,
        SizedBox(width: 5.px,),
        Text(_text),
        SizedBox(width: 20.px,),

      ],
    );
  }
}
